// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'babel-polyfill'
import promise from 'es6-promise';
promise.polyfill();
import Vue from 'vue'
import App from './App'
import store from './store/index'
import router from './router'
// import "./utils/ydd" //移动端操作
import http from './http/index.js'
import $ from 'jquery';
import ElementUi from 'element-ui'
import moment  from  'moment'
import 'element-ui/lib/theme-chalk/index.css'
import 'element-ui/lib/theme-chalk/display.css';
import './filters/statusFormat'
Vue.use(ElementUi);
Vue.use(store)
Vue.config.productionTip = false
Vue.prototype.$http = http;
Vue.prototype.$ = $;
Vue.prototype.$moment = moment;
/* eslint-disable no-new */


import VueClipboard from 'vue-clipboard2'
Vue.use(VueClipboard)


new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
